package edu.gatech.cs2340.JUnit;

import static org.junit.Assert.*;

import org.junit.Test;
import edu.gatech.cs2340.OregonTrail.*;

public class TestTrail {

	/*
	 * @Author Sanghun Oh
	 * This test getting current location by miles traveled
	 */
	@Test
	public void testGetCurrentLocation() {
		Trail trailTest = new Trail();
		assertEquals("Chimney Rock", trailTest.getCurrentLocation(554));
		assertEquals("Kansas River", trailTest.getCurrentLocation(102));
		assertEquals(null, trailTest.getCurrentLocation(9999));
	}	
}
